/* main.c */

#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include "vie.h"
#include "ui.h"
#include "buffer.h"
#include "fileio.h"


int vie_init( void );
int vie_end( void );

int main(int argc, char *argv[]){
	vie_init();
	init_vie(argc -1,argv+1 );
	run();	
	vie_end();
	exit(EXIT_SUCCESS);
}

int vie_init(){
	init_screen();
	return 0;
}

int vie_end(){
	end_screen();
	return 0;
}

